﻿<Window x:Class="HellCook.WinApp_WPF.RecipeManager.AddIngredientQuantity"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Agregar un ingrediente a la receta" Height="139" Width="765" WindowStyle="ToolWindow" >
    <Window.Background>
        <ImageBrush ImageSource="/HellCook.WinApp_WPF;component/Images/mantel3.jpg"/>
    </Window.Background>
    <Grid>
        <Label Content="Nombre del ingrediente:" Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label_NombreIngrediente" VerticalAlignment="Top" />
        <Label Content="Cantidad:" Height="28" HorizontalAlignment="Left" Margin="12,37,0,0" Name="label_Cantidad" VerticalAlignment="Top" />
        <TextBox HorizontalAlignment="Left" Margin="157,12,0,0" Name="textBox_NameIngredient" Width="228" TextChanged="textBox_NameIngredient_TextChanged" Height="23" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="157,42,0,0" Name="textBox_Quantity" VerticalAlignment="Top" Width="139" />
        <Button Content="Agregar" Height="23" HorizontalAlignment="Left" Margin="221,70,0,0" Name="button_Add" VerticalAlignment="Top" Width="75" Click="button_Add_Click" />
        <Button Content="Cancelar" Height="23" HorizontalAlignment="Left" Margin="310,70,0,0" Name="button_Cancel" VerticalAlignment="Top" Width="75" Click="button_Cancel_Click" />
        <DataGrid Name="DataGrid_ListaIngredientes" SelectionMode="Single" AlternatingRowBackground="LightBlue" Background="LightGray" RowBackground="LightYellow" BorderBrush="Gray" IsReadOnly="True" HorizontalAlignment="Left" Margin="404,12,0,0" VerticalAlignment="Top" Height="81" Width="333" SelectionChanged="DataGrid_ListaIngredientes_SelectionChanged"/>
        <Label Name="Label_TipoMedida" Content="" HorizontalAlignment="Left" Margin="301,40,0,0" VerticalAlignment="Top" Width="84"/>
    </Grid>
</Window>
